import { CoolController, BaseController } from '@cool-midway/core';
import { Body, Inject, Post, Get, Query } from '@midwayjs/core';
import { PaySettingAlipayEntity } from '../../entity/alipay'; 
import { PaySettingAlipayService } from '../../service/alipay'; 

/**
 * paySetting模块-支付宝配置信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: PaySettingAlipayEntity,
  service: PaySettingAlipayService,
  pageQueryOp: {
    keyWordLikeFields: ['appId', 'applicationId'],
    fieldEq: ['appId', 'applicationId'],
  }
})
export class AdminPaySettingAlipayController extends BaseController {
    @Inject()
    paySettingAlipayService: PaySettingAlipayService;
}
